#ifndef HELPBUTTON_H
#define HELPBUTTON_H

#include <QGraphicsTextItem>
#include <QGraphicsScene>
#include <QFont>

class HelpButton : public QGraphicsTextItem
{
    Q_OBJECT

public:
    HelpButton(QString buttonText, QGraphicsScene * scene);
    void setCurrentlyActive(bool state);

signals:
    void clicked(HelpButton * sender);

protected:
    void mousePressEvent(QGraphicsSceneMouseEvent *event);
    void hoverEnterEvent(QGraphicsSceneHoverEvent *event);
    void hoverLeaveEvent(QGraphicsSceneHoverEvent *event);

private:
    bool active;

};

#endif // HELPBUTTON_H
